package com.cgly.medical.annotation;

import java.lang.annotation.*;

/**
 * @author wangxiangli
 * @create 2022-07-28-9:24
 */
@Target(value = ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface WxlRateLimiter {

    //往令牌桶中放入令牌的速率
    double rate();
    //获取令牌的超时时间
    long timeOut() default 0;
}